﻿@model BackEnd.Models.LoginModel

@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - My ASP.NET MVC Application</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")        
    </head>
    <body>
        <div id="main_container">
            <div class="header_login">
                <div class="logo">
                    <a href="#"><img border="0" title="" alt="" src="/Content/Images/logo.gif"></a>
                </div>    
            </div>
            <div class="login_form">
                <h3>Admin Panel Login</h3>                        
                @using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post , new { @class = "niceform" }))
                {
                    @Html.AntiForgeryToken()
                    @Html.ValidationSummary(true)                        
                    <fieldset>
                        <dl>
                            <dt>
                                @Html.LabelFor(m => m.UserName)
                            </dt>
                            <dd>
                                <img src="/Content/Img/0.png" class="NFTextLeft">
                                <div class="NFTextCenter">
                                    @Html.TextBoxFor(m => m.UserName, new { size = 54, @class = "NFText" })
                                    @Html.ValidationMessageFor(m => m.UserName)
                                </div>
                                <img src="/Content/Img/0.png" class="NFTextRight">
                            </dd>
                        </dl>
                        <dl>
                            <dt>@Html.LabelFor(m => m.Password)</dt>
                            <dd>
                                <img src="/Content/Img/0.png" class="NFTextLeft">
                                <div class="NFTextCenter">
                                    @Html.PasswordFor(m => m.Password, new { size = 54, @class = "NFText" })
                                    @Html.ValidationMessageFor(m => m.Password)
                                </div>
                                <img src="/Content/Img/0.png" class="NFTextRight">
                            </dd>
                        </dl>                    
                        <dl>
                            <dt><label></label></dt>
                            <dd>                                                              
                                @Html.CheckBoxFor(m => m.RememberMe)
                                @Html.LabelFor(m => m.RememberMe, new { @class="check_label" })
                            </dd>
                        </dl>
                    
                        <dl class="submit">
                            <img class="NFButtonLeft" src="/Content/Img/0.png" /><input id="submit" class="NFButton" type="submit" value="Log in" name="submit" /><img class="NFButtonRight" src="/Content/Img/0.png" />
                        </dl>
                    
                    </fieldset>
                }   
            </div>             
            <div class="footer_login">
                <div class="left_footer_login">
                    IN ADMIN PANEL | Powered by
                    <a href="http://worldartprice.com">WORLDARTPRICE</a>
                </div>
                <div class="right_footer_login">
                    <a href="http://worldartprice.com">
                        <img border="0" title="" alt="" src="">
                    </a>
                </div>
            </div>
        </div>
    </body>
</html>
